﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WIALib;

namespace ImageAcquisitionTAL
{
    public class WIA10Technology : IAcquisitionTechnology
    {
        #region IAcquisitionTechnology Members

        public IEnumerable<Scanner> GetInstalledScanners()
        {
            throw new NotImplementedException();
        }

       
        public Scanner GetScanner(string deviceId)
        {
            throw new NotImplementedException();
        }

        public bool IsAvailable()
        {
            try
            {
                WiaClass wiaManager = new WiaClass();
                wiaManager = null;
            }
            catch
            {
                return false;
            }
            return true;
        }

        public System.Drawing.Image Acquire(string deviceId)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
